const fs = require('fs')
fs.readFile('../test.txt', 'utf8', (err, data) => {
    if(data){
        const ordArr = data.split(' ');
        // console.log(ordArr)
        const newArr = []
        for(i=0; i< ordArr.length; i++){
            const socre = ordArr[i].split('=');
            const newScore = socre.join(':');
            newArr.push(newScore)
        }
        // console.log(newArr)
        const newStr = newArr.join('\n')
        console.log(newStr)
    }
})